import request from '@/utils/request'

export function getThreeTokenApi(params) {
  return request({
    url: 'https://api.xiaoe-tech.com/token',
    method: 'get',
    params
  })
}

export function getUserListApi(data) {
  return request({
    url: 'https://api.xiaoe-tech.com/xe.user.info.get/1.0.0',
    method: 'post',
    data
  })
}

export function loginApi(data) {
  return request({
    url: '/teacher/login',
    method: 'post',
    data
  })
}

export function getCodeApi(data) {
  return request({
    url: '/teacher/getMobileCode',
    method: 'post',
    data
  })
}
